package com.web709.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
// 评价实体类
@Data
@ApiModel(value = "评价实体类")
public class Evaluation {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "评价ID")
    private int id;
    @ApiModelProperty(value = "需求ID")
    private int demandId;
    @ApiModelProperty(value = "用户ID")
    private int userId;
    @ApiModelProperty(value = "志愿者ID")
    private int volunteerId;
    @ApiModelProperty(value = "评价分数")
    private int score;
    @ApiModelProperty(value = "评价内容")
    private String content;
}
